package com.medical.blood.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;

@Data
@TableName("device_supplies")
public class DeviceSupplies {
    @TableId(type = IdType.AUTO)
    private Long id;                // 记录ID
    private String deviceId;        // 设备编号
    private Integer needleCount;    // 针头剩余数量
    private Integer tubeCount;      // 试管剩余数量
    private Integer thresholdNeedle;// 针头预警阈值
    private Integer thresholdTube;  // 试管预警阈值
    private Date lastUpdateTime;    // 最后更新时间
}